package com.ibm.risk.irmp.rule.model;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class SourceRuleBranch {
    private Long id;
    private String memo;
    private List<SourceRuleDimension> dimensions;
    private List<SourceRuleDimension> targets;
    /**
     * 是否与上一个分支同一组合，如果是，那么本条分支是else if分支,否则是新的if分支
     */
    private Boolean isGrouped = true;
    /**
     * 满足条件后是否继续执行下一个分支，否就是满足本分支条件后跳过后续分支
     */
    private Boolean isContinue = true;
}
